<?php
namespace app\index\controller;
use think\Db;
class Join extends Base{
    public function join(){
        $cooperate_banner=Db::name('cooperate_banner')->where('id',1)->find();
        $express=Db::name('express_style')->order('id asc')->select();
        $cooperate=Db::name('cooperate')->where('id',1)->find();
        $this->assign('system_set',$this->system_set());
        $this->assign('cooperate_banner',$cooperate_banner);
        $this->assign('express',$express);
        $this->assign('cooperate',$cooperate);
        return $this->fetch();
    }
    public function cooperate(){
        $cooperate_banner=Db::name('cooperate_banner')->where('id',1)->find();
        $express=Db::name('express_style')->order('id asc')->select();
        $cooperate=Db::name('cooperate')->where('id',2)->find();
        $this->assign('system_set',$this->system_set());
        $this->assign('cooperate_banner',$cooperate_banner);
        $this->assign('express',$express);
        $this->assign('cooperate',$cooperate);
        return $this->fetch();
    }
}
